//
//  AppDelegate.m
//  XiangYu
//
//  Created by YYKJ on 2017/4/21.
//  Copyright © 2017年 YYKJ. All rights reserved.
//

#import "AppDelegate.h"
#import "BVRootManager.h"
#import "BVLoginViewController.h"
#import "BVKeyBoardManager.h"

#import <AMapFoundationKit/AMapFoundationKit.h>
#define AMAP_KEY @"bc84c71938676e7f2fe11db3eb3a1438"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    
    [[AMapServices sharedServices] setApiKey:AMAP_KEY];
    
    [BVKeyBoardManager initKeyBoardManager];
    
    [BVRootManager chooseRootViewController:self.window];
    [self.window makeKeyAndVisible];
    
    return YES;
    
}

- (void)applicationWillResignActive:(UIApplication *)application {
    
    
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
    
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
    
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
    
}


- (void)applicationWillTerminate:(UIApplication *)application {
    
}


@end
